Optimal. Leaf size=87 \[ 7 a^6 b x+\frac {21}{2} a^5 b^2 x^2+\frac {35}{3} a^4 b^3 x^3+\frac {35}{4} a^3 b^4 x^4+\frac {21}{5} a^2 b^5 x^5+\frac {7}{6} a b^6 x^6+\frac {b^7 x^7}{7}+a^7 \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {45}
\begin {gather*} a^7 \log (x)+7 a^6 b x+\frac {21}{2} a^5 b^2 x^2+\frac {35}{3} a^4 b^3 x^3+\frac {35}{4} a^3 b^4 x^4+\frac {21}{5} a^2 b^5 x^5+\frac {7}{6} a b^6 x^6+\frac {b^7 x^7}{7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int \frac {(a+b x)^7}{x} \, dx &=\int \left (7 a^6 b+\frac {a^7}{x}+21 a^5 b^2 x+35 a^4 b^3 x^2+35 a^3 b^4 x^3+21 a^2 b^5 x^4+7 a b^6 x^5+b^7 x^6\right ) \, dx\\ &=7 a^6 b x+\frac {21}{2} a^5 b^2 x^2+\frac {35}{3} a^4 b^3 x^3+\frac {35}{4} a^3 b^4 x^4+\frac {21}{5} a^2 b^5 x^5+\frac {7}{6} a b^6 x^6+\frac {b^7 x^7}{7}+a^7 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 87, normalized size = 1.00 \begin {gather*} 7 a^6 b x+\frac {21}{2} a^5 b^2 x^2+\frac {35}{3} a^4 b^3 x^3+\frac {35}{4} a^3 b^4 x^4+\frac {21}{5} a^2 b^5 x^5+\frac {7}{6} a b^6 x^6+\frac {b^7 x^7}{7}+a^7 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 76, normalized size = 0.87
method | result | size |
default | \(7 a^{6} b x +\frac {21 a^{5} b^{2} x^{2}}{2}+\frac {35 a^{4} b^{3} x^{3}}{3}+\frac {35 a^{3} b^{4} x^{4}}{4}+\frac {21 a^{2} b^{5} x^{5}}{5}+\frac {7 a \,b^{6} x^{6}}{6}+\frac {b^{7} x^{7}}{7}+a^{7} \ln \left (x \right )\) | \(76\) |
norman | \(7 a^{6} b x +\frac {21 a^{5} b^{2} x^{2}}{2}+\frac {35 a^{4} b^{3} x^{3}}{3}+\frac {35 a^{3} b^{4} x^{4}}{4}+\frac {21 a^{2} b^{5} x^{5}}{5}+\frac {7 a \,b^{6} x^{6}}{6}+\frac {b^{7} x^{7}}{7}+a^{7} \ln \left (x \right )\) | \(76\) |
risch | \(7 a^{6} b x +\frac {21 a^{5} b^{2} x^{2}}{2}+\frac {35 a^{4} b^{3} x^{3}}{3}+\frac {35 a^{3} b^{4} x^{4}}{4}+\frac {21 a^{2} b^{5} x^{5}}{5}+\frac {7 a \,b^{6} x^{6}}{6}+\frac {b^{7} x^{7}}{7}+a^{7} \ln \left (x \right )\) | \(76\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 75, normalized size = 0.86 \begin {gather*} \frac {1}{7} \, b^{7} x^{7} + \frac {7}{6} \, a b^{6} x^{6} + \frac {21}{5} \, a^{2} b^{5} x^{5} + \frac {35}{4} \, a^{3} b^{4} x^{4} + \frac {35}{3} \, a^{4} b^{3} x^{3} + \frac {21}{2} \, a^{5} b^{2} x^{2} + 7 \, a^{6} b x + a^{7} \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.99, size = 75, normalized size = 0.86 \begin {gather*} \frac {1}{7} \, b^{7} x^{7} + \frac {7}{6} \, a b^{6} x^{6} + \frac {21}{5} \, a^{2} b^{5} x^{5} + \frac {35}{4} \, a^{3} b^{4} x^{4} + \frac {35}{3} \, a^{4} b^{3} x^{3} + \frac {21}{2} \, a^{5} b^{2} x^{2} + 7 \, a^{6} b x + a^{7} \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 88, normalized size = 1.01 \begin {gather*} a^{7} \log {\left (x \right )} + 7 a^{6} b x + \frac {21 a^{5} b^{2} x^{2}}{2} + \frac {35 a^{4} b^{3} x^{3}}{3} + \frac {35 a^{3} b^{4} x^{4}}{4} + \frac {21 a^{2} b^{5} x^{5}}{5} + \frac {7 a b^{6} x^{6}}{6} + \frac {b^{7} x^{7}}{7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.26, size = 76, normalized size = 0.87 \begin {gather*} \frac {1}{7} \, b^{7} x^{7} + \frac {7}{6} \, a b^{6} x^{6} + \frac {21}{5} \, a^{2} b^{5} x^{5} + \frac {35}{4} \, a^{3} b^{4} x^{4} + \frac {35}{3} \, a^{4} b^{3} x^{3} + \frac {21}{2} \, a^{5} b^{2} x^{2} + 7 \, a^{6} b x + a^{7} \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 75, normalized size = 0.86 \begin {gather*} a^7\,\ln \left (x\right )+\frac {b^7\,x^7}{7}+\frac {7\,a\,b^6\,x^6}{6}+\frac {21\,a^5\,b^2\,x^2}{2}+\frac {35\,a^4\,b^3\,x^3}{3}+\frac {35\,a^3\,b^4\,x^4}{4}+\frac {21\,a^2\,b^5\,x^5}{5}+7\,a^6\,b\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________